package com.supermarket.seefood51.home.model

import android.content.Context
import com.supermarket.seefood51.home.presenter.HomePresenter
import com.supermarket.seefood51.home.presenter.ProductPresenter
import com.supermarket.seefood51.home.view.HomeView
import com.supermarket.seefood51.home.view.ProductView
import dagger.Module
import dagger.Provides

@Module
class ProductInjectModel(private var mContext: Context,
                      private var mView: ProductView){
    @Provides
    fun providePresenter(): ProductPresenter {
        return ProductPresenter(mContext,mView)
    }
}